package service.impl;/*
 *86180
 *2021/10/4
 *12:29
 */

import Dao.impl.OrganDaoImpl;
import Dao.OrganDao;
import entity.Organ;
import service.OrganService;
import util.DruidUtil;

import java.util.List;

public class OrganServiceImpl implements OrganService {
    private OrganDao organDao=new OrganDaoImpl();
    @Override
    public List<Organ> showAllOrgan() {
        List<Organ> organList=null;
        organList=organDao.selectAll();
        DruidUtil.close();
        return organList;
    }
}
